package enumPackage;

public class Test2 {
    public static void main(String[] args) {
        check(Counstant.BOY);
    }

    public static void check(Counstant sex){
        switch (sex){
            case BOY :
                System.out.println("仙侠小说");
                break;

            case GIRL :
                System.out.println("言情小说");

        }
    }
}
